package com.leather.common.entity;
import lombok.Data;

import java.io.Serializable;
import java.util.*;

/**
*
*  @author kevin
*/
@Data
public class Goods implements Serializable {

    private static final long serialVersionUID = 1552291027406L;


    /**
    * 主键
    * 默认自增的主键
    * isNullAble:0
    */
    private Integer id;

    /**
    * 用户关联的外键
    * isNullAble:1
    */
    private Integer userId;

    /**
    * 商品名称
    * isNullAble:0
    */
    private String goodsName;

    /**
    * 商品描述
    * isNullAble:0
    */
    private String goodsDesc;

    /**
    * 商品价格
    * isNullAble:1
    */
    private Double goodsPrice;

    /**
    * 商品类型外键Id
    * isNullAble:1
    */
    private Integer goodsTypeId;

    /**
    * 商品图片路径
    * isNullAble:1
    */
    private String goodsImgUrl;

    /**
    * 创建时间
    * isNullAble:1
    */
    private Date createTime;

    /**
    * 更改时间
    * isNullAble:1
    */
    private Date updateTime;

    /**
    * 删除标记 0未删除  1表示删除
    * isNullAble:1,defaultVal:0
    */
    private Integer flag;

}
